package com.honey.mybatis.generator.page.field;

import com.honey.core.types.FullyQualifiedJavaType;
import com.honey.core.types.JDKFullyQualifiedJavaType;
import com.honey.mybatis.generator.AbstractField;
import com.honey.mybatis.generator.page.PageConstant;

public class TotalNumberField extends AbstractField {

	private static final String FIELD_NAME=PageConstant.PAGE_TOTAL_FIELD_NAME ;
	
	private static final String INITIALIZATION ="0";
	
	private static final FullyQualifiedJavaType TYPE = JDKFullyQualifiedJavaType.getIntInstance();
	
	private static final String[] JAVA_DOC=new String[]{
		"总的记录集数量."
	} ;
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getFieldName()
	 */
	@Override
	protected String getFieldName() {
		return FIELD_NAME;
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getJavaDoc()
	 */
	@Override
	protected String[] getJavaDoc() {
		return JAVA_DOC;
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.honey.mybatis.generator.AbstractField#getType()
	 */
	@Override
	protected FullyQualifiedJavaType getType() {
		return TYPE;
	}
	
	@Override
	protected String getInitialization() {
		return INITIALIZATION;
	}
}
